package com.alisls.shequtao.service.goods.api;

import com.alisls.shequtao.service.goods.dto.SkuDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 描述
 *
 * @author Ke Wang
 */
@RequestMapping("/sku")
public interface SkuApi {

    @GetMapping("/listSkusBySpuId/{spuId}")
    List<SkuDTO> listSkusBySpuId(@PathVariable("spuId") Long spuId);

}
